package com.suzhouhe.util.constans;

import java.time.format.DateTimeFormatter;

/**
 * 时间常量类
 *
 * @author suzhouhe
 * @date 2020-08-25 14:09
 **/
public class DateConst {

    public static final String HHMM = "HH:mm";

    public static final String MMDD = "MM-dd";

    public static final String YYYYMMDD = "yyyy-MM-dd";

    public static final String YYYYMMDDHHMMSS = "yyyy-MM-dd HH:mm:ss";

    public static final DateTimeFormatter FORMATTER_HHMM = DateTimeFormatter.ofPattern(HHMM);

    public static final DateTimeFormatter FORMATTER_MMDD = DateTimeFormatter.ofPattern(MMDD);

    public static final DateTimeFormatter FORMATTER_YYYYMMDD = DateTimeFormatter.ofPattern(YYYYMMDD);

    public static final DateTimeFormatter FORMATTER_YYYYMMDDHHMMSS = DateTimeFormatter.ofPattern(YYYYMMDDHHMMSS);
}
